namespace SimpleWebServices.Web.Mvc
{
    using System.Web.Mvc;
    using SimpleWebServices;
    using Xunit;

    public sealed class StatelessControllerFactoryFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(new ObjectExpectations<StatelessControllerFactory>()
                .DerivesFrom<DefaultControllerFactory>()
                .IsConcreteClass()
                .IsSealed()
                .HasDefaultConstructor()
                .Result);
        }

        [Fact]
        public void ctor()
        {
            Assert.NotNull(new StatelessControllerFactory());
        }
    }
}